import React from "react";
import {PaperClipOutlined} from "@ant-design/icons";
import {Button, Col, Tooltip} from "antd";

function FileLink(props) {
    const fileName = props["fileName"];

    return (
        <>
            <Tooltip title={fileName}>
                <PaperClipOutlined style={{color: "gray"}}/>
                <Button type={"link"} size={"small"}>{fileName}</Button>
            </Tooltip>
        </>
    );
}

export default FileLink;